<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">

    <h:head>
        <title>MeteoCal</title>
        <link href="./css/application.css" rel="stylesheet"></link>
        <link rel="icon" type="image/ico" href="images/logoico.ico"/>
        <meta http-equiv="refresh" content="5; url=home.xhtml"></meta>
        <f:metadata>
            <f:viewParam name="newuser" value="#{uBean.newUser.username}" />
        </f:metadata>
    </h:head>
    <h:body><div id="body">

            <div id="head">
                <a href="home.xhtml"><img src="images/logo.png" /></a>
            </div>

            <div id="title">
                <p1>MeteoCal</p1><br />
                <p2>Your website to plan your events.</p2>
            </div>

            <div id="description">
                <p>Hello, #{uBean.newUser.username}  ! Welcome in MeteoCal's community!
                    <br />You will be redirected into home after 5 seconds.<br />
                Do your first log in!</p>
            </div>

           </div>      
    </h:body>
</html>

